<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>好友分布</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<script type="text/javascript" src="js/FusionCharts.js"></script>

</head>

<body>
	<div><div id="chartMap"></div></div>
	<script type="text/javascript">
	var chartMap = new FusionCharts("swf/FCMap_China2.swf", "chinaMap",
			"1130", "445");
	var strXML = "<map lang='ZH' showShadow = '2'>" + "<data>"
			+ "<entity id='CN.AH' displayValue='安徽' color='EFFFFF'/>"
			+ "<entity id='CN.BJ' displayValue='北京' color='EFFFFF'/>"
			+ "<entity id='CN.CQ' displayValue='重庆' color='EFFFFF'/>"
			+ "<entity id='CN.FJ' displayValue='福建' color='EFFFFF'/>"
			+ "<entity id='CN.GD' displayValue='广东' color='EFFFFF'/>"
			+ "<entity id='CN.GS' displayValue='甘肃' color='EFFFFF'/>"
			+ "<entity id='CN.GX' displayValue='广西' color='EFFFFF'/>"
			+ "<entity id='CN.GZ' displayValue='贵州' color='EFFFFF'/>"
			+ "<entity id='CN.HA' displayValue='海南' color='EFFFFF'/>"
			+ "<entity id='CN.HB' displayValue='河北' color='EFFFFF'/>"
			+ "<entity id='CN.HE' displayValue='河南' color='EFFFFF'/>"
			+ "<entity id='CN.HK' displayValue='香港' color='EFFFFF'/>"
			+ "<entity id='CN.HL' displayValue='黑龙江' color='EFFFFF'/>"
			+ "<entity id='CN.HN' displayValue='湖南' color='EFFFFF'/>"
			+ "<entity id='CN.HU' displayValue='湖北' color='EFFFFF'/>"
			+ "<entity id='CN.JL' displayValue='吉林' color='EFFFFF'/>"
			+ "<entity id='CN.JS' displayValue='江苏' color='EFFFFF'/>"
			+ "<entity id='CN.LN' displayValue='辽宁' color='EFFFFF'/>"
			+ "<entity id='CN.JX' displayValue='江西' color='EFFFFF'/>"
			+ "<entity id='CN.MA' displayValue='澳门' color='EFFFFF'/>"
			+ "<entity id='CN.NM' displayValue='内蒙古' color='EFFFFF'/>"
			+ "<entity id='CN.NX' displayValue='宁夏' color='EFFFFF'/>"
			+ "<entity id='CN.QH' displayValue='青海' color='EFFFFF'/>"
			+ "<entity id='CN.SA' displayValue='陕西' color='EFFFFF'/>"
			+ "<entity id='CN.SD' displayValue='山东' color='EFFFFF'/>"
			+ "<entity id='CN.SC' displayValue='四川' color='EFFFFF'/>"
			+ "<entity id='CN.SH' displayValue='上海' color='EFFFFF'/>"
			+ "<entity id='CN.SX' displayValue='山西' color='EFFFFF'/>"
			+ "<entity id='CN.TA' displayValue='台湾' color='EFFFFF'/>"
			+ "<entity id='CN.TJ' displayValue='天津' color='EFFFFF'/>"
			+ "<entity id='CN.XJ' displayValue='新疆' color='EFFFFF'/>"
			+ "<entity id='CN.XZ' displayValue='西藏' color='EFFFFF'/>"
			+ "<entity id='CN.YN' displayValue='云南' color='EFFFFF'/>"
			+ "<entity id='CN.ZJ' displayValue='浙江' color='EFFFFF'/>"
			+ "</data>" + "</map>";

	chartMap.setDataXML(strXML);
	chartMap.render("chartMap");
</script>
</body>
</html>
